package com.aier.user.entity;

public class UserPhotoType implements java.io.Serializable{

    /**
     * 用户相册分类表
     */
    private static final long serialVersionUID = 1L;

    private Long uptid;        //标识    
    private Long uid;        //用户id
    private String pname;    //相册名称
    private String img;        //封面
    private Short state;    //相册权限 0:所有人 ,1:所有好友,2:仅自己可见
    
    //扩展
    private Integer num_img;//图片数量
    
    
    public UserPhotoType() {
        super();
    }

    public UserPhotoType(Long uptid, Long uid, String pname, String img,
            Short state) {
        super();
        this.uptid = uptid;
        this.uid = uid;
        this.pname = pname;
        this.img = img;
        this.state = state;
    }

    public Long getUptid() {
        return uptid;
    }

    public void setUptid(Long uptid) {
        this.uptid = uptid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getNum_img() {
        return num_img;
    }

    public void setNum_img(Integer num_img) {
        this.num_img = num_img;
    }
    
    
    
}
